﻿using System;
using Cinderella;
using Codeflows;

namespace Producer
{
    class Program
    {
        static void Main()
        {
            while (true)
            {
                Console.WriteLine("Press enter to queue work or type q and enter to quit");
                var input = Console.ReadLine();
                if (input == "q")
                    break;

                CodeflowApplication.Create<CinderellaWorm>(c => c.Start(input));
            }
        }
    }
}